package com.swl;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by swl on 2016/11/28.
 */
@Controller
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/showUser")
    public String show(){
      //  int userId = Integer.parseInt(request.getParameter("id"));
     //   User user = this.userService.getUserById(userId);
    //    model.addAttribute("user", user);
        return "showUser";
    }
}
